package com.example.chcrm.entity.employee;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author 邹
 * @Date 2025/3/14 15:36
 * @Version 1.0
 */
@Data
@Accessors(chain = true)
public class RoleModels {
    //角色ID
    private String id ;
    //角色名称
    private String roleNm;
    //说明
    private String explaind;
    /**
     * 状态：0禁用，1启用
     */
    private Integer status;
    /**
     * 是否删除：0否，-1是
     */
    private Integer isDeleted;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @TableField(exist = false)
    private Integer page = 1;
    @TableField(exist = false)
    private Integer rows = 10;

}
